package chapter19;

/**
 * @author lzy
 * @version v1.0
 * Create DateTime: 2019/4/3 9:37
 */
enum LikeClasses {
    WINKEN {
        @Override
        void behavior() {
            System.out.println("Behavior1");
        }
    },
    BLINKEN {
        @Override
        void behavior() {
            System.out.println("Behavior2");
        }
    },
    NOD {
        @Override
        void behavior() {
            System.out.println("Behavior3");
        }
    };

    abstract void behavior();
}

public class NoClasses {

    void f1(LikeClasses classes) {

    }

}
